﻿	function TabChange(TabNum,SumNum,linkurl)
	{
		var str="";
			if(TabNum!=1)
			{
				str="margin-left8  Index_TopNEwsLIst_Down";
			}
			else
			{
				str="Index_TopNEwsLIst_Down";
			}
	
		for( var i=1;i<=SumNum;i++)
		{
			var oldStyle="";
			if(i==1)
			{
					oldStyle="Index_TopNEwsLIst_CurrImg";
			}
			else
			{
				oldStyle="margin-left8 Index_TopNEwsLIst_CurrImg";	
			}		
				document.getElementById("Index_newsChange"+i).className=oldStyle;
				document.getElementById("Index_NewsWeb"+i).style.display="none";
				
				
				
		}
			document.getElementById("Index_newsChange"+TabNum).className=str;
			document.getElementById("Index_NewsWeb"+TabNum).style.display="block";
			if(linkurl!="")
			{
			document.getElementById("Index_NewMore").href=linkurl;
			
			}
	}